package com.viboo.concern.entity;

public class Rank {
    private Long id;
    /**
     * 关注的ID
     */
    private String openId;
    //被关注人ID
    private String userId;

    private String userAvatar;

    private String userName;
    //进入的时间
    private Long entryTime;
    //分享时间
    private Long shareTime;

    private Integer entryNub;

    private Integer ranking;

    private Integer rankNo;

    //0查询5条 1查询所有
    private int type = 0;

    //多久进入时间
    private  String date;

    public Integer getRankNo() {
        return rankNo;
    }

    public void setRankNo(Integer rankNo) {
        this.rankNo = rankNo;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Long getShareTime() {
        return shareTime;
    }

    public void setShareTime(Long shareTime) {
        this.shareTime = shareTime;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Integer getRanking() {
        return ranking;
    }

    public void setRanking(Integer ranking) {
        this.ranking = ranking;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar == null ? null : userAvatar.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Long getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(Long entryTime) {
        this.entryTime = entryTime;
    }

    public Integer getEntryNub() {
        return entryNub == null ? 0 : entryNub;
    }

    public void setEntryNub(Integer entryNub) {
        this.entryNub = entryNub;
    }

    @Override
    public String toString() {
        return "Rank{" +
                "id=" + id +
                ", openId='" + openId + '\'' +
                ", userId='" + userId + '\'' +
                ", userAvatar='" + userAvatar + '\'' +
                ", userName='" + userName + '\'' +
                ", entryTime=" + entryTime +
                ", shareTime=" + shareTime +
                ", entryNub=" + entryNub +
                ", ranking=" + ranking +
                ", type=" + type +
                ", date='" + date + '\'' +
                '}';
    }
}